overlay: Remove unused NULL-check
authorTimm Bäder <mail@baedert.org>
Fri, 20 Oct 2017 13:12:28 +0000 (15:12 +0200)
committerTimm Bäder <mail@baedert.org>
Fri, 20 Oct 2017 13:12:28 +0000 (15:12 +0200)
gtk/gtkoverlay.c

index 85d918c03dfd01d0fd48dc70a43c1ae1263ffd04..6ae29649a5beab43536db3424127663166df2943 100644 (file)
@@ -173,8 +173,7 @@ gtk_overlay_get_main_widget_allocation (GtkOverlay *overlay,
       main_alloc.height = gtk_widget_get_allocated_height (GTK_WIDGET (overlay));
     }
 
-  if (main_alloc_out)
-    *main_alloc_out = main_alloc;
+  *main_alloc_out = main_alloc;
 }
 
 static void